/**
 * 初始化装车登记查询详情对话框
 */
var CarryBasicInformationInfoDlg = {
    carryBasicInformationInfoData : {}
};

/**
 * 清除数据
 */
CarryBasicInformationInfoDlg.clearData = function() {
    this.carryBasicInformationInfoData = {};
}

/**
 * 关闭此对话框
 */
CarryBasicInformationInfoDlg.close = function() {
    parent.layer.close(window.parent.CarryBasicInformation.layerIndex);
}


/**
 * 反审核操作
 */
CarryBasicInformationInfoDlg.editSubmit = function() {
	var a = $("#id").val();
	var id = Number(a);
	
	 $.ajax({
			async : false,
			type : 'post',
			url : Feng.ctxPath+'/carryBasicInformation/antiAudit?id='+id,
			contentType : "application/json;charset=UTF-8",
			success : function(data) {
				if (data == 'SUCCESS') {
					Feng.success("反审核成功!");
			        window.parent.CarryBasicInformation.table.refresh();
			        CarryBasicInformationInfoDlg.close();
				} else {
					 Feng.error("反审核失败！");
				}
			},
			error : function(data) {
				 Feng.error("操作失败!");
			}
		});
}

$(function() {

});
